ubuntu

您所在的位置:网站首页 ubuntu df -h ubuntu

ubuntu

2023-03-11 14:09| 来源: 网络整理| 查看: 265

I am facing an issue with wrong fs space reported by df.

We are talking about bare metal Ubuntu 14.04 server, with the / partition managed by LVM.

Size reported by df is different from the size reported by fs super-block. Also calculating size from du -skh (on directories related to / partition) proves that df is showing incorrect results.

This is what reported by df:

Filesystem Size Used Avail Use% Mounted on /dev/mapper/rootvg-lv_root 20G 16G 2.8G 86% /

This is what super-block reports (3616906*4096/1024**2=14128 MB free):

Last mounted on: / Filesystem magic number: 0xEF53 Filesystem state: clean Filesystem OS type: Linux Inode count: 1290240 Block count: 5242880


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3